package com.java.oop.work.sj1.no2;

public class Manager extends Employee {

    private Integer price;

    public Manager() {
    }

    public Manager(Integer price) {
        this.price = price;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    @Override
    public void calculateSalary() {
        System.out.println("领导的工资是："+(super.getBasePrice()+this.price));
    }
}
